/*reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header, footer {
    display: block;
}
a{
    color: #000;
    text-decoration: none;
}
a:hover {
    color: orangered;
    text-decoration: none;

}

.clearBox:before,
.clearBox:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
}

body {
    padding: 10px 40px;
    background-image: url("../images/bg.jpg");
    background-position-x: inherit;
}

.box {
    max-width: 1103px;
    margin: 5% auto 60px;
    border: 1px solid #000;
    background-color: rgba(225,225,225,.7);
}

header {
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid;
}

.content{
    padding: 40px 20px;
}
form,
.left-body{
    padding-top: 30px;
    padding-left: 5px;
}
form dl{
    margin-bottom: 20px;
}
form dt{
    margin-bottom: 10px;
}

button[name='btn'],
button[name='reg']{
    border: none;
    font-size: inherit;
    background-color: transparent;
    margin-right: 20px;
    outline: none;
}
button[name='btn']:hover,
button[name='reg']:hover{
    cursor: pointer;
    color: orangered;
}

.left{
    float: left;
}
.right{
    float: right;

}
.left{
    width: 75%;
    margin-right: 30px;
}
.left>div{
    margin-bottom: 20px;
}

.title{
    height: 25px;
    line-height: 25px;
    padding-left: 5px;
    border-bottom: 1px solid;
    background-color: rgba(0,0,0,.2);
}
.right{
width: 20%;
}

.right-ctn{
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px dotted;
    overflow: hidden;
}
.right-ctn >a:hover{
    color: orangered;
}
.left input,
.left textarea{
    width: 60%;
}
.left input{
    height: 25px;
    padding: 0 10px;
}
.left textarea{
    resize: none;
    height: 80px;
    padding: 10px;
}

.blog-body{
    padding-top: 20px;
}
.tit-date{
    height: 25px;
    line-height: 25px;
    margin-bottom: 10px;
}
.body-ctn{
    padding: 5px 10px;
    max-height: 100px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-bottom: 30px;
}
.body-foot>a{
    text-decoration: none;
    margin-right: 10px;
}
.body-foot>a:last-of-type{
    margin-right: 0;
}
.right a{
    color: #000;
    font-size: 14px;
    text-decoration: none;
}
.side-foot{
     margin-top: 15px;
}
.sidebar{
    margin-bottom: 20px;
}
.footer{
    position: fixed;
    width: 100%;
    bottom:0;
    left: 0;
    padding: 2px 0;
    text-align: center;
    background-color: rgba(225,225,225,.7);
}